#ifndef QTSTRA_STRATEGYINFO_H
#define QTSTRA_STRATEGYINFO_H

#include <QWidget>
#include "nonqtmain.h"


class QLabel;
class QLineEdit;


//! [0]
class QtStraStrategyInfo : public QWidget
{
	Q_OBJECT

public:
	QtStraStrategyInfo(QWidget * parent = 0);

	void ShowInfo(const BarData& showbar);

	void ClearInfo();

private:

	//elements in BarDock
	QLabel *indexLabel;
	QLineEdit *indexLineEdit;
	QLabel *tickcntLabel;
	QLineEdit *tickcntLineEdit;
	QLabel *starttimeLabel;
	QLineEdit *starttimeLineEdit;
	QLabel *curtimeLabel;
	QLineEdit *curtimeLineEdit;
	QLabel *openLabel;
	QLineEdit *openLineEdit;
	QLabel *highLabel;
	QLineEdit *highLineEdit;
	QLabel *lowLabel;
	QLineEdit *lowLineEdit;
	QLabel *closeLabel;
	QLineEdit *closeLineEdit;

};
//! [0]

#endif